package com.xy.usermanagement.readermanagement.mapper;

import com.xy.model.Readers;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ReadersMapper {
    int deleteByPrimaryKey(String nickName);

    int insert(Readers record);

    Readers selectByPrimaryKey(String nickName);

    List<Readers> selectAll();

    int updateByPrimaryKey(Readers record);
}